<?php exit('404');?>
{include header}
<div class="content">
	<form action="{url admin/article/editor/$article.id}" method="post" class="article article-editor">
		<!-- ext.article.editor-top($article) -->
		<div class="form-item article-editor-info">
			<div><label>标签</label><input type="text" name="tag" style="width:200px;margin-right:20px;" placeholder="多个标签用空格隔开" value="{$article.tag.name}"/></div>
			<div><label>URL</label><input type="text" name="name" style="width:200px;margin-right:20px;" placeholder="URL名称，不填以时间命名" value="{$article.id}"/></div>
			<div>
				<label>置顶<input name="top" type="checkbox" {if $article.top}checked{/if} value="1"/></label>
				<label>私密<input name="private" type="checkbox" {if $article.private}checked{/if} value="1"/></label>
				<label>评论<input name="comment" type="checkbox" {if $article.comment}checked{/if} value="1"/></label>
				<input type="submit" class="btn bg-blue" value="提交"/>
			</div>
		</div>
		<!-- ext.article.create-form1($article) -->
		<div class="form-item article-create-title">
			<label>标题</label>
			<input type="text" name="title" style="width:465px;" placeholder="文章标题" value="{$article.title}"/>
		</div>
		<!-- ext.article.editor-form2($article) -->
		<div class="form-item article-editor-intro">
			<label>描述</label>
			<span class="intro-show">__展开</span>
			<textarea name="intro" placeholder="描述，200字符以内">{$article.intro}</textarea>
		</div>
		<!-- ext.article.editor-form3($article) -->
		<div class="form-item article-editor-content">
			<label>内容</label>
			<textarea name="content" id="content" placeholder="第一行为#标题">{#htmlentities($article.content)}</textarea>
		</div>
		<!-- ext.article.editor-bottom($article) -->
		<!-- ext.editor -->
	</form>
</div>
{include footer}